Auto merge of #5460 - ehuss:conservative-link, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 10 May 2018 19:01:06 +0000 (19:01 +0000)
committerbors <bors@rust-lang.org>
Thu, 10 May 2018 19:01:06 +0000 (19:01 +0000)
commitef719bc5e5966d99cce14a092a0525eba399ea1d
tree87c0022d1f9ff7e5a482c6076f627f152cdea7f2
parentc80744586df7dd4d9460f2948d227cb92fe6f676
parentd0c29393dcd6b522f01195b07e696ab2c4c90ef0
Auto merge of #5460 - ehuss:conservative-link, r=alexcrichton

Be more conservative about which files are linked to the output dir.

This changes it so that only top-level targets requested on the command-line will be included in the output directory.  Dependencies are no longer included.

Fixes #5444.